package magicCardCreator;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;


public class frame extends JFrame{
	frame(){
		setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		setSize(375, 523);
		setLayout(null);
		
		JPanel cardArtwork = new JPanel();
		cardArtwork.setBounds(32, 62, 311, 228);
		ImageLabel art = new ImageLabel("images/a.jpg");
		add(cardArtwork);
		cardArtwork.add(art);
		cardArtwork.setOpaque(true);
		
		ImageLabel cardBorder = new ImageLabel("images/acard.jpg");
		cardBorder.setBounds(0, 0, 375, 523);
		add(cardBorder);
		
		
	}
	
	
	
	
	public static void main(String[] args){
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				frame Frame = new frame();
				Frame.setVisible(true);
			}
		});
	}
}
